<script setup lang="ts">
import Icon from '../../components/Icon.vue';
import { refreshData } from './data';
</script>

<template>
    <div class="h-12 bg-gray-700 px-4 text-white flex items-center justify-between">
        <span>Google Icon Viewer</span>
        <div
            class="h-full flex items-center px-4 hover:bg-gray-500 select-none"
            @click="refreshData(true)"
        >
            <Icon>settings_backup_restore</Icon>重置 Icon 数据
        </div>
    </div>
</template>

<style scoped>
</style>
